inspector: Avoid overflow when editing doubles
authorMatthias Clasen <mclasen@redhat.com>
Thu, 10 Mar 2016 00:40:06 +0000 (19:40 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 10 Mar 2016 02:59:43 +0000 (21:59 -0500)
commit0c929b7124ce19a838a3acdc735533fa61d02750
treeb9a678cabb1bea515ebe29fde9503cf4398e57f5
parent747962ece2eea2580deedc9e087ba0427197031c
inspector: Avoid overflow when editing doubles

The adjustment double properties allow values from -G_MAXDOUBLE
to G_MAXDOUBLE, which leads to overflow when calculating
max - min / 10. To avoid that, simply use a fixed page_size of 1.0.
gtk/inspector/prop-editor.c